﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 医嘱套餐明细日志表
    /// </summary>
    public partial class WardTbAdvSetDetailLog
    {
        /// <summary>
        /// 主键自增
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 套餐明细id
        /// </summary>
        public int? SetDetailId { get; set; }
        /// <summary>
        /// 主表ID
        /// </summary>
        public int? SetId { get; set; }
        /// <summary>
        /// 套餐代码
        /// </summary>
        public string? SetCode { get; set; }
        /// <summary>
        /// 项目id
        /// </summary>
        public int? ProjectId { get; set; }
        /// <summary>
        /// 频次id
        /// </summary>
        public int? FreqId { get; set; }
        /// <summary>
        /// 体位代码
        /// </summary>
        public string? PositionCode { get; set; }
        /// <summary>
        /// 申请单分类代码
        /// </summary>
        public int? ApplySortCode { get; set; }
        /// <summary>
        /// 申请单项目id
        /// </summary>
        public int? ApplyItemId { get; set; }
        /// <summary>
        /// 0长期1临时
        /// </summary>
        public int? LongFlag { get; set; }
        /// <summary>
        /// 药品代码
        /// </summary>
        public int? DrugId { get; set; }
        /// <summary>
        /// 剂量
        /// </summary>
        public decimal? Dose { get; set; }
        /// <summary>
        /// 剂量单位
        /// </summary>
        public string? DoseUnit { get; set; }
        /// <summary>
        /// 套餐类型
        /// </summary>
        public int? SetType { get; set; }
        /// <summary>
        /// 停启用状态：0停用1启用
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 创建人ID
        /// </summary>
        public int? CreateUserId { get; set; }
        public DateTime? CreateOn { get; set; }
        public int? UpdateUserId { get; set; }
        public DateTime? UpdateOn { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public byte? DelFlag { get; set; }
        /// <summary>
        /// 医院编码
        /// </summary>
        public int? HospitalId { get; set; }
        /// <summary>
        /// 操作类型
        /// </summary>
        public string? OpType { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public int? OpUserId { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? OpTime { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int? TotalCount { get; set; }
        /// <summary>
        /// 给药途径
        /// </summary>
        public int? DeliveryWay { get; set; }
        /// <summary>
        /// 天數
        /// </summary>
        public int? Days { get; set; }
        /// <summary>
        /// 配药途径
        /// </summary>
        public int? DispensingWay { get; set; }
        /// <summary>
        /// 医生嘱托
        /// </summary>
        public string? DoctorAdvice { get; set; }
        /// <summary>
        /// 医嘱内容
        /// </summary>
        public string? AdviceContent { get; set; }
        /// <summary>
        /// 频次对应时间
        /// </summary>
        public string? FreqTime { get; set; }
        /// <summary>
        /// 排序值
        /// </summary>
        public int? OrderValue { get; set; }
        /// <summary>
        /// 申请单项目标本类型id
        /// </summary>
        public int? SpecTypeId { get; set; }
        /// <summary>
        /// 申请单项目标本类型
        /// </summary>
        public string? SpecType { get; set; }
        /// <summary>
        /// 是否申请单项目 0否1是
        /// </summary>
        public int? ApplyFlag { get; set; }
        /// <summary>
        /// 是否系统套餐 0否1是
        /// </summary>
        public int? IsSet { get; set; }
        public int? GlobalId { get; set; }
        public string? TotalCountUnit { get; set; }
        public string? OtherContent { get; set; }
    }
}
